<!DOCTYPE html>
<!--
Copyright 2017, Google, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<html>
<head>
    <title>Quite Interesting Quiz</title>
    <meta name='viewport' content='width=device-width, initial-scale=1'>
    <link rel='stylesheet' href='//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css'>
</head>

<body ng-app='qiqApp'>
    <nav class='navbar navbar-default'>
        <div class='container'>
            <div class='navbar-header'>
                <button type='button' class='navbar-toggle collapsed'  ng-click='isNavCollapsed = !isNavCollapsed' aria-expanded='false'>
                    <span class='sr-only'>Toggle navigation</span>
                    <span class='icon-bar'></span>
                    <span class='icon-bar'></span>
                    <span class='icon-bar'></span>
                </button>
                 <a class='navbar-brand' href='/'>Quite Interesting Quiz</a>
            </div>
            <div class='collapse navbar-collapse' uib-collapse='isNavCollapsed' id='bs-example-navbar-collapse-1'>
                <ul class='nav navbar-nav'>
                    <li><a href='#!/quiz/gcp'>GCP</a></li>
                    <li><a href='#!/quiz/places'>Places</a></li>
                    <li><a href='#!/quiz/people'>People</a></li>
                </ul>
                <qiq-login></qiq-login>
            </div>
        </div>
    </nav>
    <div class='container'>
        <h1>Quite Interesting Quiz</h1>
        <div ng-view></div>
    </div>

    <script src='//ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.js'></script>
    <script src='//ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular-route.js'></script>
    <script src='//cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/2.5.0/ui-bootstrap-tpls.js'></script>

    <script src='app/app.js'></script>

    <script src='app/quizzes/quiz-module.js'></script>
    <script src='app/quizzes/quiz-factory.js'></script>
    <script src='app/quizzes/quiz-controller.js'></script>

    <script src='app/auth/auth-module.js'></script>
    <script src='app/auth/auth-factory.js'></script>
    <script src='app/auth/auth-controller.js'></script>
    <script src='app/auth/qiq-login.js'></script>
</body>
</html>